﻿using System;

namespace Fast.DynamicProxies
{
    /// <summary>
    /// 拦截器特性
    /// </summary>
    [SkipScan, AttributeUsage(AttributeTargets.Class)]
    public sealed class InterceptorAttribute : Attribute
    {
        /// <summary>
        /// 拦截器实现类
        /// </summary>
        public Type InterceptorType { get; set; }

        public InterceptorAttribute(Type interceptorType)
        {
            InterceptorType = interceptorType;
        }
    }
}
